package jmind.asteroidea.core.parser;

import jmind.asteroidea.plugin.spring.SpelExpression;

import java.util.List;

/**
 * description:spel解析抽象类
 * @author weibo.xie
 * @date:2022/7/25 上午10:03
 */
public abstract  class AbstractSpelTagParse implements TagParser {
    @Override
    public String[] parse(String[] tags, String[] names, Object[] values) {
        List objects = SpelExpression.getInstance().parseValues(tags, names, values);
        return parse(objects);
    }

    public abstract String[] parse(List<Object> values);
}
